package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 科目对象 t_subject
 * 
 * @author ruoyi
 * @date 2020-05-09
 */
public class TSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 科目id */
    private Integer subjectId;

    /** 科目名 */
    @Excel(name = "科目名")
    private String courseName;

    /** 排序 */
    @Excel(name = "排序")
    private Integer subjectOrder;

    public void setSubjectId(Integer subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Integer getSubjectId() 
    {
        return subjectId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setSubjectOrder(Integer subjectOrder) 
    {
        this.subjectOrder = subjectOrder;
    }

    public Integer getSubjectOrder() 
    {
        return subjectOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("subjectId", getSubjectId())
            .append("courseName", getCourseName())
            .append("subjectOrder", getSubjectOrder())
            .append("createTime", getCreateTime())
            .toString();
    }
}
